/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.mad.bikepony.model;

import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

/**
 * The base model interface for the QuestionResponse service. Represents a row in the &quot;bp_question_response&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link com.mad.bikepony.model.impl.QuestionResponseModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.mad.bikepony.model.impl.QuestionResponseImpl}.
 * </p>
 *
 * @author nicola
 * @see QuestionResponse
 * @see com.mad.bikepony.model.impl.QuestionResponseImpl
 * @see com.mad.bikepony.model.impl.QuestionResponseModelImpl
 * @generated
 */
public interface QuestionResponseModel extends BaseModel<QuestionResponse> {
	/*
	 * NOTE FOR DEVELOPERS:
	 *
	 * Never modify or reference this interface directly. All methods that expect a question response model instance should use the {@link QuestionResponse} interface instead.
	 */

	/**
	 * Returns the primary key of this question response.
	 *
	 * @return the primary key of this question response
	 */
	public long getPrimaryKey();

	/**
	 * Sets the primary key of this question response.
	 *
	 * @param primaryKey the primary key of this question response
	 */
	public void setPrimaryKey(long primaryKey);

	/**
	 * Returns the questionnaire ID of this question response.
	 *
	 * @return the questionnaire ID of this question response
	 */
	public long getQuestionnaireId();

	/**
	 * Sets the questionnaire ID of this question response.
	 *
	 * @param questionnaireId the questionnaire ID of this question response
	 */
	public void setQuestionnaireId(long questionnaireId);

	/**
	 * Returns the question ID of this question response.
	 *
	 * @return the question ID of this question response
	 */
	public long getQuestionId();

	/**
	 * Sets the question ID of this question response.
	 *
	 * @param questionId the question ID of this question response
	 */
	public void setQuestionId(long questionId);

	/**
	 * Returns the vote of this question response.
	 *
	 * @return the vote of this question response
	 */
	public int getVote();

	/**
	 * Sets the vote of this question response.
	 *
	 * @param vote the vote of this question response
	 */
	public void setVote(int vote);

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public Serializable getPrimaryKeyObj();

	public void setPrimaryKeyObj(Serializable primaryKeyObj);

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(QuestionResponse questionResponse);

	public int hashCode();

	public CacheModel<QuestionResponse> toCacheModel();

	public QuestionResponse toEscapedModel();

	public String toString();

	public String toXmlString();
}